home *** CD-ROM | disk | FTP | other *** search
- * $VER: StartUp_i 4.00
- *
- * Use this include file only if you specified linkable code
- * in StartUp.s, otherwise you will get lots of duplicate
- * labels.
- *
- ***********************************************************
- * Structs
- ***********************************************************
-
- rsreset
- gfx_base: rs.l 1 ; pointer to graphics base
- rs.l 2 ; reserved. don't use. :)
- VectorBase: rs.l 1 ; pointer to the Vector Base
- ntsc: rs.b 1 ; 0 = pal, 1 = ntsc
- AGA: rs.b 1 ; 0 = ESC/OCS, 1 = AGA
- SYS_SIZE: rs.b 0 ; size of the struct
-
- ***********************************************************
- * Functions
- ***********************************************************
-
- ; Synopsis:
- ; success = TakeSystem(SystemSave)
- ; d0 a4
- xref TakeSystem
- ; TakeSystem also returns Custom+2 in a5. It will also fill in the correct
- ; fields in SystemSave. SystemSave is a block of memory of size SYS_SIZE.
- ; The fields that will be filled in will depend on the flags set in StartUp.s
- ; at assemble time.
-
- ; Synopsis:
- ; success = RestoreSystem(SystemSave)
- ; d0 a4
- xref RestoreSystem
- ; RestoreSystem will always return a zero in d0.
-